package liuliu.throughwaring.control.add.police.person;

import android.content.Context;

import liuliu.throughwaring.control.task.addTask;
import liuliu.throughwaring.model.PersonModel;

/**
 * Created by Administrator on 2015/12/2.
 */
public class RegPersonListener {
    IRegPersonView iRegPersonView;
    Context mContext;
    addTask add;

    public RegPersonListener(Context context, IRegPersonView iRegPersonView) {
        add = new addTask(context);
        this.mContext = context;
        this.iRegPersonView = iRegPersonView;
    }

    public void RegPerson(PersonModel person) {
        add.addPerson(person, iRegPersonView);
    }
}
